package org.example.base.common.service;

import com.alibaba.fastjson2.JSONObject;
import org.example.base.common.entity.UserEntity;
import org.example.base.common.model.UserModel;
import org.example.core.service.BaseService;

import java.util.Map;

/**
 * 用户Service层
 */
public interface UserService extends BaseService<String, UserModel, UserEntity> {
    JSONObject getUserInfo();

    void addRoles(Map<String, Object> params);

    JSONObject getDetail(String id);

    void register(Map<String, Object> params);

    void modifyPassword(Map<String, Object> params);
}
